/**
 * 试着来复制一下another对象
 * 1. anotherArray 和 myObject 存在循环引用,会死循环
 * 2. function的深拷贝也值得思考
 */
function anotherFuntion() {}
var anotherObject = {
  c:true
}
var anotherArray = []

var myObject = {
  a:2,
  b:anotherObject,
  c:anotherArray,
  d:anotherFuntion
}

anotherArray.push( anotherObject,myObject );
